package base.regex;

public class Test11 {
    public static void main(String[] args) {
//        System.out.println("f".matches("[^a]"));
//        System.out.println("\\t");

        // 身份证
        String regex1 = "[\\d[^0]]\\d{5}(18\\d{2}|19\\d{2}|20(([0-1]\\d)|2[0-5]))(0\\d|10|11|12)([0-2]\\d|3[0-1])\\d{3}(\\d|(?i)x)";
        System.out.println("440903202512251852".matches(regex1));

        System.out.println("13".matches("12|3"));

    }
}
